<template>
  <div class="record-center">
    <el-row :gutter="20">
      <el-col :span="12" class="mb_20">
        <chart1 />
      </el-col>
      <el-col :span="12" class="mb_20"> <chart2 /> </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="12"> <chart3 /> </el-col>
      <el-col :span="12"> <chart4 /> </el-col>
    </el-row>
  </div>
</template>

<script>
import { findClientCount } from '@/api/after-sale/client/statistics'
import chart1 from './component/chart1'
import chart2 from './component/chart2'
import chart3 from './component/chart3'

import chart4 from './component/chart4'

export default {
  components: {
    chart1,
    chart2,
    chart3,
    chart4,
  },
  data() {
    return {
      projectMap:{}
    }
  },
  async created() {
    this.findClientCount()
  },
  methods: {
    async findClientCount() {
      const { data } = await findClientCount()

      console.log(data)
    },
  },
}
</script>

<style lang="scss" scoped>
.mb_20 {
  margin-bottom: 20px;
}
.record-center {
  height: calc(100vh - 110px);
  background-image: url(../../../../assets/data_bg.png);
}
</style>
